<!DOCTYPE html>
<html>
<body>
<div id="console"></div>
<script>
Number.prototype.foo = "FAIL: Visible in isolated world.";
if (window.testRunner) {
  testRunner.dumpAsText();
  testRunner.evaluateScriptInIsolatedWorld(
    1,
    "document.getElementById('console').innerHTML = (42).foo");
}
</script>
</body>
</html>
